/**
 * Created with IntelliJ IDEA.
 * User: wenxiwen
 * Date: 2022/2/20
 * Time: 17:32
 * Description: No Description
 */
import java.util.Scanner;
public class TestDemo {
    public static int sum(int a,int b) {

        return a+b;
    }
    public static double sum(double a,double b) {

        return a+b;
    }
    public static void main(String[] args) {
        int a=10;
        int b=10;
        System.out.println(max(a, b));
       double i=10.0f;
       double j=10.0f;
        System.out.println(sum(i,j));
    }
    public static int max(int a,int b) {
        return a+b;
    }
    public static void main2(String[] args) {
        System.out.println(max(10, 20));
    }
    public static int max(int x,int y,int z) {
        int MAX=0;
        if(x>y) {
            MAX=x;
        }if(x<z) {
            MAX=z;
        }if(y>z) {
            MAX=y;
        }
        return MAX;
    }
    public static void main1(String[] args) {
        Scanner scan=new Scanner(System.in);
        int input=scan.nextInt();
        int init=scan.nextInt();
        int inct=scan.nextInt();
        int ret=max(input,init,inct);
        System.out.println(ret);
    }
}